package com.broadengate.model;

import java.util.Date;

/**
 * Transfer entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Transfer implements java.io.Serializable {

	// Fields

	private Integer id;
	private Currency currency;
	private Card cardBySourceCardId;
	private Card cardByDestinedCardId;
	private Date time;
	private Float amount;
	private Float poundage;

	// Constructors

	/** default constructor */
	public Transfer() {
	}

	/** full constructor */
	public Transfer(Currency currency, Card cardBySourceCardId,
			Card cardByDestinedCardId, Date time, Float amount, Float poundage) {
		this.currency = currency;
		this.cardBySourceCardId = cardBySourceCardId;
		this.cardByDestinedCardId = cardByDestinedCardId;
		this.time = time;
		this.amount = amount;
		this.poundage = poundage;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Currency getCurrency() {
		return this.currency;
	}

	public void setCurrency(Currency currency) {
		this.currency = currency;
	}

	public Card getCardBySourceCardId() {
		return this.cardBySourceCardId;
	}

	public void setCardBySourceCardId(Card cardBySourceCardId) {
		this.cardBySourceCardId = cardBySourceCardId;
	}

	public Card getCardByDestinedCardId() {
		return this.cardByDestinedCardId;
	}

	public void setCardByDestinedCardId(Card cardByDestinedCardId) {
		this.cardByDestinedCardId = cardByDestinedCardId;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Float getAmount() {
		return this.amount;
	}

	public void setAmount(Float amount) {
		this.amount = amount;
	}

	public Float getPoundage() {
		return this.poundage;
	}

	public void setPoundage(Float poundage) {
		this.poundage = poundage;
	}

}